/*
 *  main.c - This file is part of Xfelp
 *
 *  Copyright (C) 2008 Daniel Morales <daniel@daniel.com.uy>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <gtk/gtk.h>
#include <libxfce4util/libxfce4util.h>

#include "xfelp-window.h"

gint
main (gint argc, gchar *argv[])
{
  XfelpWindow *window;

  /* Init translations */
  xfce_textdomain (PACKAGE, LOCALEDIR, "UTF-8");

  /* Initialize GTK+ */
  gtk_init (&argc, &argv);

  /* Misc app setup */
  g_set_application_name ("Xfelp");
  gtk_window_set_default_icon_name ("help-browser");

  /* Create the main window */
  window = xfelp_window_get_default ();

  /* Main event loop */
  gtk_main ();

  return 0;
}
